<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>已经完成的拍卖</title>
</head>
<body>
<c:forEach var = "auctions" items="${page.records}">
<br/>
<p>书名:${fn:escapeXml(auctions.book.name)}</p>

<p>价格:${auctions.currentPrice }</p>
<p>买家:${fn:escapeXml(auctions.bidder.nickName)}</p>
<p>状态:${fn:escapeXml(auctions.state.friendlyName)}</p>
<a href="ShowAuction?baid=${auctions.baID }">查看详情</a>
</c:forEach>
<br/>
<a href = "?curPage=${page.nextPage}&pageSize=${page.pageSize}">下一页</a>

<a href = "?curPage=${page.prePage}&pageSize=${page.pageSize}">上一页</a>
</body>
</html>